package com.mutual.assistance.user.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@ApiModel(value="用户与角色对应信息", description="用户与角色对应信息")
public class UserAndRoleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id标识")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户状态")
    private String status;

    @ApiModelProperty(value = "角色集合")
    private List<RoleSimpleDto> roleDTOList;
}
